package com.alibaba.algo.core.base;

import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * Created by IntelliJ IDEA.
 * User: glorysongglory
 * Date: 2020/4/14
 * Time: 13:01
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class BaseEntity implements Serializable {

    protected Long id;
    /**
     * 状态 Y 逻辑删除 N正常
     */
    protected String isDeleted;
    /**
     * 创建人姓名
     */
    protected String creator;
    /**
     * 创建时间
     */
    protected LocalDateTime gmtCreated;
    /**
     * 修改人姓名
     */
    protected String modifier;
    /**
     * 修改时间
     */
    protected LocalDateTime gmtModified;
}
